package com.dmjj.dmjjxtutil;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;


@Component
@ConfigurationProperties(prefix="mycontract") //接收application.yml中的mycontract下面的属性
public class MyProps {
    private String contractUrl1;

    private String contractExportUrl1;

    private String contractPdfUrl;

    private String dayToYearRate;

    private String brandPicUrl;

    public String getBrandPicUrl() {
        return brandPicUrl;
    }

    public void setBrandPicUrl(String brandPicUrl) {
        this.brandPicUrl = brandPicUrl;
    }

    public String getDayToYearRate() {
        return dayToYearRate;
    }

    public void setDayToYearRate(String dayToYearRate) {
        this.dayToYearRate = dayToYearRate;
    }

    public String getContractUrl1() {
        return contractUrl1;
    }

    //String类型的一定需要setter来接收属性值；maps, collections, 和 arrays 不需要
    public void setContractUrl1(String contractUrl1) {
        this.contractUrl1 = contractUrl1;
    }

    public String getContractExportUrl1() {
        return contractExportUrl1;
    }

    public void setContractExportUrl1(String contractExportUrl1) {
        this.contractExportUrl1 = contractExportUrl1;
    }

    public String getContractPdfUrl() {
        return contractPdfUrl;
    }

    public void setContractPdfUrl(String contractPdfUrl) {
        this.contractPdfUrl = contractPdfUrl;
    }
}
